﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020009FF RID: 2559
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class KOKLNINMGGD : IMessage<KOKLNINMGGD>, IMessage, IEquatable<KOKLNINMGGD>, IDeepCloneable<KOKLNINMGGD>, IBufferMessage
	{
		// Token: 0x17002066 RID: 8294
		// (get) Token: 0x060072CA RID: 29386 RVA: 0x00133278 File Offset: 0x00131478
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<KOKLNINMGGD> Parser
		{
			get
			{
				return KOKLNINMGGD._parser;
			}
		}

		// Token: 0x17002067 RID: 8295
		// (get) Token: 0x060072CB RID: 29387 RVA: 0x0013327F File Offset: 0x0013147F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return KOKLNINMGGDReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002068 RID: 8296
		// (get) Token: 0x060072CC RID: 29388 RVA: 0x00133291 File Offset: 0x00131491
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return KOKLNINMGGD.Descriptor;
			}
		}

		// Token: 0x060072CD RID: 29389 RVA: 0x00133298 File Offset: 0x00131498
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public KOKLNINMGGD()
		{
		}

		// Token: 0x060072CE RID: 29390 RVA: 0x001332A0 File Offset: 0x001314A0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public KOKLNINMGGD(KOKLNINMGGD other) : this()
		{
			this.oHCDEELLOMN_ = other.oHCDEELLOMN_;
			this.visitorId_ = other.visitorId_;
			this.isMeet_ = other.isMeet_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060072CF RID: 29391 RVA: 0x001332DD File Offset: 0x001314DD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public KOKLNINMGGD Clone()
		{
			return new KOKLNINMGGD(this);
		}

		// Token: 0x17002069 RID: 8297
		// (get) Token: 0x060072D0 RID: 29392 RVA: 0x001332E5 File Offset: 0x001314E5
		// (set) Token: 0x060072D1 RID: 29393 RVA: 0x001332ED File Offset: 0x001314ED
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint OHCDEELLOMN
		{
			get
			{
				return this.oHCDEELLOMN_;
			}
			set
			{
				this.oHCDEELLOMN_ = value;
			}
		}

		// Token: 0x1700206A RID: 8298
		// (get) Token: 0x060072D2 RID: 29394 RVA: 0x001332F6 File Offset: 0x001314F6
		// (set) Token: 0x060072D3 RID: 29395 RVA: 0x001332FE File Offset: 0x001314FE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint VisitorId
		{
			get
			{
				return this.visitorId_;
			}
			set
			{
				this.visitorId_ = value;
			}
		}

		// Token: 0x1700206B RID: 8299
		// (get) Token: 0x060072D4 RID: 29396 RVA: 0x00133307 File Offset: 0x00131507
		// (set) Token: 0x060072D5 RID: 29397 RVA: 0x0013330F File Offset: 0x0013150F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool IsMeet
		{
			get
			{
				return this.isMeet_;
			}
			set
			{
				this.isMeet_ = value;
			}
		}

		// Token: 0x060072D6 RID: 29398 RVA: 0x00133318 File Offset: 0x00131518
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as KOKLNINMGGD);
		}

		// Token: 0x060072D7 RID: 29399 RVA: 0x00133328 File Offset: 0x00131528
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(KOKLNINMGGD other)
		{
			return other != null && (other == this || (this.OHCDEELLOMN == other.OHCDEELLOMN && this.VisitorId == other.VisitorId && this.IsMeet == other.IsMeet && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060072D8 RID: 29400 RVA: 0x00133384 File Offset: 0x00131584
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.OHCDEELLOMN != 0U)
			{
				num ^= this.OHCDEELLOMN.GetHashCode();
			}
			if (this.VisitorId != 0U)
			{
				num ^= this.VisitorId.GetHashCode();
			}
			if (this.IsMeet)
			{
				num ^= this.IsMeet.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060072D9 RID: 29401 RVA: 0x001333F5 File Offset: 0x001315F5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060072DA RID: 29402 RVA: 0x001333FD File Offset: 0x001315FD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060072DB RID: 29403 RVA: 0x00133408 File Offset: 0x00131608
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.OHCDEELLOMN != 0U)
			{
				output.WriteRawTag(40);
				output.WriteUInt32(this.OHCDEELLOMN);
			}
			if (this.VisitorId != 0U)
			{
				output.WriteRawTag(104);
				output.WriteUInt32(this.VisitorId);
			}
			if (this.IsMeet)
			{
				output.WriteRawTag(120);
				output.WriteBool(this.IsMeet);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060072DC RID: 29404 RVA: 0x00133480 File Offset: 0x00131680
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.OHCDEELLOMN != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.OHCDEELLOMN);
			}
			if (this.VisitorId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.VisitorId);
			}
			if (this.IsMeet)
			{
				num += 2;
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060072DD RID: 29405 RVA: 0x001334E4 File Offset: 0x001316E4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(KOKLNINMGGD other)
		{
			if (other == null)
			{
				return;
			}
			if (other.OHCDEELLOMN != 0U)
			{
				this.OHCDEELLOMN = other.OHCDEELLOMN;
			}
			if (other.VisitorId != 0U)
			{
				this.VisitorId = other.VisitorId;
			}
			if (other.IsMeet)
			{
				this.IsMeet = other.IsMeet;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060072DE RID: 29406 RVA: 0x00133548 File Offset: 0x00131748
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060072DF RID: 29407 RVA: 0x00133554 File Offset: 0x00131754
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 40U)
				{
					if (num != 104U)
					{
						if (num != 120U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.IsMeet = input.ReadBool();
						}
					}
					else
					{
						this.VisitorId = input.ReadUInt32();
					}
				}
				else
				{
					this.OHCDEELLOMN = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04002BD3 RID: 11219
		private static readonly MessageParser<KOKLNINMGGD> _parser = new MessageParser<KOKLNINMGGD>(() => new KOKLNINMGGD());

		// Token: 0x04002BD4 RID: 11220
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002BD5 RID: 11221
		public const int OHCDEELLOMNFieldNumber = 5;

		// Token: 0x04002BD6 RID: 11222
		private uint oHCDEELLOMN_;

		// Token: 0x04002BD7 RID: 11223
		public const int VisitorIdFieldNumber = 13;

		// Token: 0x04002BD8 RID: 11224
		private uint visitorId_;

		// Token: 0x04002BD9 RID: 11225
		public const int IsMeetFieldNumber = 15;

		// Token: 0x04002BDA RID: 11226
		private bool isMeet_;
	}
}
